package com.fanqiechaodan.proxy.jdkproxy;

/**
 * @author fanqiechaodan
 * @Classname BigStar
 * @Description
 */
public class BigStar implements Star {

    private String name;

    public BigStar(String name) {
        this.name = name;
    }

    /**
     * 唱歌
     *
     * @param name
     * @return
     */
    @Override
    public String sing(String name) {
        System.out.println(this.name +"正在唱:"+name);
        return name;
    }

    /**
     * 跳舞
     */
    @Override
    public void dance() {
        System.out.println(this.name +"正在跳舞");
    }
}
